//
//  NIVehicleStatusView.h
//  gweAD
//
//  Created by navinfo air on 2017/2/23.
//  Copyright © 2017年 mengy. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NIVehicleStatusView : UIView<CAAnimationDelegate>

typedef NS_ENUM(NSInteger, NIVehicleAnimationType) {
    NIVehicleAnimationTypeNone,
    NIVehicleAnimationTypeLock,
    NIVehicleAnimationTypeUnlock,
    NIVehicleAnimationTypeCloseWindow,
    NIVehicleAnimationTypeFlash,
    NIVehicleAnimationTypeEngine
};

@property(nonatomic)NSString *vehicleType;
//@property(nonatomic)GWVehicleInfoModel *vehicleInfoModel;
@property(assign)BOOL enable;

//- (void)setVehicleInfoModel:(GWVehicleInfoModel *)vehicleInfoModel skyWindowSupport:(BOOL)support;
- (void)startAnimation:(NIVehicleAnimationType)type;

@end
